.show-pic{
    position: relative;
    width: 100%;
    height: 652px;
    background-image: url(../img/BANNER.jpg);
    background-position: center;
    background-size: cover;
}

.show-pic .point{
position: absolute;
width: fit-content;
height: 14px;
left: 50%;
margin-left: -55px;
bottom: 19px;
}
.show-pic .point .dot{
    position: relative;
    float: left;
    width: 14px;
    height: 14px;
    margin-right: 10px;
   
}
.show-pic .point .dot a{
    position: absolute;
    display: block; 
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background-color: #fff;
}


.show-pic .point .dot:hover a{
    border: 3px solid white;
    background-color: #668aca;
}
.show-pic .point .dot.active a{
    border: 3px solid white;
    background-color: #668aca;
}

 /*----------------- 项目展示 ------------------ */
.pro-show{
    height: 453px;
    margin-top: 120px;
    /* background-color: blanchedalmond; */
}
.pro-show-c{
    overflow: hidden;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}

/* -作为首页的一个通用的样式,标题头都用这个- */
.title{
    width: 1200px;
    height: 51px;
}
.title .left{
    float: left;
    width: fit-content;
    height: 100%;
    /* background-color: chartreuse; */
}
.title .left h2{
    font-size: 30px;
    line-height: 30px;
    color: #767676;
}
.title .left p{
    font-size: 12px;
    line-height: 12px;
    margin-top: 6px;
    color: #767676;
}
.title .left .line{
    width: 60px;
    height: 1px;
    background-color: #a1a1a1;
    margin-top: 3px;
}
.title .right{
    float: right;
    width: 300px;
    height: 1px;
    margin-top: 50px;
    background-color: #a1a1a1;
}
/* ------------------- */
.pro-show-c .select{
    width: fit-content;
    height: 20px;
    margin: 0 auto;
    margin-top: 58px;
    
}
.pro-show-c .select li{
    width: 49px;
    height: 20px;
    text-align: center;
    float: left;
}
.pro-show-c .select li a{
    display: block;
    line-height: 20px;
    font-size: 14px;
    color: #767676;
}
.pro-show-c .select .vertical-line{
    width: 1px;
    height: 8px;
    background-color: #b5b5b5;
    margin: 6px 29px auto;
}
.pro-show-c .select .under-line{
    width: 12px;
    height: 1px;
    background-color: #668aca;
    margin: 0 auto ;
    opacity: 0;
}
.pro-show-c .select li:hover a{
    font-size: 16px;
    color: #668aca;
}
.pro-show-c .select li.active a{
    font-size: 16px;
    color: #668aca;
}
.pro-show-c .select li:hover .under-line{
opacity:1 ;
}
.pro-show-c .select li.active .under-line{
    opacity:1 ;
    }
/* ---------------- */
.pro-show-c .picshow{
    height: 270px;
    width: fit-content;
    margin: 0 auto;
/* 用margin: 0 auto;水平居中之后
    再设置高度边缘 */
    margin-top: 54px;
}
.picshow .pic{
    position: relative;
    float: left;
    width: 360px;
    height: 270px;
    margin-right: 57px;
}
.picshow .pic .pic1{
    display: block;
    width: 100%;
    height: 180px;
}
.picshow .pic .city{
    font-size: 14px;
    line-height: 14px;
    color: #767676;
}
.picshow .pic .def{
    font-size: 12px;
    line-height: 12px;
    margin-top: 7px;
    color: #767676;
}
.picshow .pic .des{
    font-size: 12px;
    line-height: 25px;
    margin-top: 19px;
    color: #ffffff;
    opacity: 0;
}
.picshow .pic .pic2{
    display: block;
    float: right;
    position: absolute;
    right: 50px;
    bottom: 30px;
    width: 30px;
    height: 30px;
}

.picshow .pic .text{
    position: absolute;
    left: 50px;
    top: 208px;
}
.picshow .pic .mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: none;
}
.picshow .pic:hover .mask{
    display: block;
}
.picshow .pic:hover .pic1{
    width: 100%;
    height: 100%;
   
}
.picshow .pic:hover .text{
   top: 58px;
   left: 50px;
  
}
.picshow .pic:hover .text p{
    color: white;
    opacity: 1;
}
.picshow .pic:hover .pic2{
    right: 61px;
    bottom: 69px;
}
/* ------------------产品中心----------------------- */
.pro-center{
    margin-top: 120px;
    height: 1054px;
}  
.pro-center  .pro-center-c{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    
}  
.pro-center-c .pic{
    width: fit-content;
    /* 由于它的子元素是定位属性.导致没高度,做完之后看看 */
    /* 内容区的高度,给它填进去,不影响接下来的文档流 */
    height: 114px;
    margin: 0 auto;
    margin-top: 54px;
}
.pro-center-c .pic .sort{
    position: relative;
    float: left;
    width: fit-content;
    height: 114px;
   
    margin:0 39px ;
   
    border-radius: 5px;
    overflow: hidden;
}

.pro-center-c .pic .sort img{
    display: block;
    /* border: 6px solid transparent; */
    padding: 5px 10px;
    border-radius: 6px;
}
.pro-center-c .pic .sort p{
    position: absolute;
    width: 100%;
    height: 16px;
    /* 虽然p是块元素,理论上独占父元素的一行 */
    /* 但如果没有指定width,p的width在使用position时 */
    /* 可能会变得由内容撑起,方便定位 */
    text-align: center;
 
    line-height: 16px;
    font-size: 14px;
    bottom: 10px;
    color: #767676;
}
.pro-center-c .pic .sort .line{
    position: absolute;
    bottom: 5px;
    left: 50%;
    margin-left: -8px;
    width: 16px;
    height: 1px;
    background-color: #668aca;
    opacity: 0;
}
.pro-center-c .pic .sort:hover img{
    background-color:rgba(102,138,202, 0.7);
}
.pro-center-c .pic .sort:hover p{
    font-size: 16px;
    color:#668aca;
}
.pro-center-c .pic .sort:hover .line{
    opacity: 1;
}
/* 让床的图标常亮 */
.pro-center-c .pic .sort.active img{
    background-color:rgba(102,138,202, 0.7);
}
.pro-center-c .pic .sort.active p{
    font-size: 16px;
    color:#668aca;
}
.pro-center-c .pic .sort.active .line{
    opacity: 1;
}

/*---------- 产品中心下面的六个床-------- */
.bed{
    width: 1174px;
    height: 718px;
    margin: 0 auto;
    margin-top: 110px;
 
}
.bed .item{
    position: relative;
    width: 391px;
    height: 359px;
    float: left;
}
.bed .item .show{
    width: 360px;
    height: 360px;
}
.bed .item .show img
{
    display: block;
    width: 303px;
    height: 303px;
    margin: 0 auto;
    margin-top: 20px;
}
.bed .item .show .text{
height: 40px;
width:fit-content;
margin: 0 auto;
}
.bed .item .show .text h2{
    font-size: 16px;
    line-height: 28px;
    color: #767676;
}
.bed .item .show .text p{
    font-size: 14px;
    color: #767676;
}
.bed .item .mask{
    position: absolute;
    top: 20px;
    left: 0;
    width: 360px;
    height: 320px;
 
    border-radius: 8px;
    background-color: rgba(0, 0, 0, .5);
    
}
.bed .item .mask .num{
    margin-top: 138px;
    margin-left: 84px;
    width: 25px;
    height: 30px;
    font-size: 30px;
    color: #f8f8f8;
}
.bed .item .mask .line{
    width: 80px;
    height: 1px;
    background-color: #f8f8f8;
}
.bed .item .mask .text{
    width: fit-content;
    height: 40px;
    margin-top: 16px;
    margin-left: 69px;
}
.bed .item .mask .text h2{
    font-size: 16px;
    line-height: 30px;
    color: #f8f8f8;
}
.bed .item .mask .text p{
    font-size: 14px;
    color: #f8f8f8;
}
.bed .item .mask{
    display: none;
}
.bed .item:hover .mask{
    display: block;
}
.bed .item.active .mask{
    display: block;
}
.bed .item:hover .show .text{
    opacity: 0;
}
.bed .item.active .show .text{
    opacity: 0;
}
/* -------------------服务范围------------ */
.serve{
    height: 812px;
    margin-top: 120px;

}
.serve .title-core{
    width: 1200px;
    height: fit-content;
    margin: 0 auto;
}
.serve .text-on-pic{
    height: 700px;
    margin-top: 60px;
    background: url(../img/serve-area.jpg) no-repeat;
    background-position:  center;
    background-size: cover;
    
}
.serve .text-on-pic .text-on-pic-core{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    font-family: 'Times New Roman', Times, serif;
}
/* ----------列表上面的两句话 ------------*/
.text-on-pic-core h2{
    margin-top: 150px;
    font-size: 30px;
    color: white;
}
.text-on-pic-core p{
    font-size: 14px;
    color: #ffffff;
    line-height: 18px;
    margin-top: 32px;
}

.text-on-pic-core .list{
    width: fit-content;
    height: 150px;
    margin: 0 auto;
    margin-top: 150px;
}
.text-on-pic-core .list .item{
    float: left;
    width: 249px;
    height: 150px;
   
    /* 让下面的h2和p继承该属性
    为了保证h2和p宽度占满li
    需要指定宽度100%
    才能使下面这句继承后真正有效
    一般就算不指定100%,
    p和h2默认都独占一行 */
    text-align: center;
    border: 1px solid;
    border-color: rgba(248, 248, 248, .2);
}
.text-on-pic-core .item h2{
    margin-top: 51px;
    font-size: 16px;
    /* width: 100%; */
    color: #ffffff;
}
.text-on-pic-core .item .line{
    width: 30px;
    height: 1px;
    margin: 13px auto;
    background-color: #fff;
}
.text-on-pic-core .item p{
    font-size: 12px;
    color: #ffffff;
    font-family:"Times New Roman";
    /* 为了图片左上两行字的间距
    在core里对p设置了margin-top 
    此处如果不加这一句 
    margin-top将会默认被赋值*/
    margin-top: 0;
    /* width: 100%; */
}
/* 让选中的卡片背景色亮起 */
.text-on-pic-core .list .item:hover{
    background-color: #668aca;
}
.text-on-pic-core .list .item.active{
    background-color: #668aca;
}

/* -------------新闻资讯---------------*/
.news{
    height: 681px;
    margin-top: 120px;
}
.news-core{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
  
}
.news-core .desc{
    height: 570px;
    width: 100%;
    margin-top: 60px;
}
.news-core .desc .left{
    width: 570px;
    height: 570px;
    float: left;
}
.news-core .left .top{
    float: left;
    background: url(../img/news1.jpg) no-repeat;
    width: 100%;
    height: 270px;
    overflow: hidden;
    position: relative;
}
.news-core .desc .card .mask{
    width: 100%;
    height: 90px;
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    
}
.news-core .desc .card .mask h2{
	font-size: 16px;
    color: #fff;
    margin-top: 11px;
    margin-left: 50px;
}
.news-core .desc .card  .mask p{
    margin-top: 16px;
    margin-left: 50px;
    font-size: 12px;
    line-height: 20px;
    color: #ffffff;
}
.news-core .desc .card .mask img{
    position: absolute;
    width: 30px;
    height: 30px;
    right: 50px;
    bottom: 12px;
}
.news-core .desc .card .mask{
    opacity: 0;
}
.news-core .desc .card:hover .mask{
    opacity: 1;
}

.news-core .bottom-left{
    float: left;
    width: 270px;
    height: 270px;
    background: url(../img/news2.jpg) no-repeat;
    margin-top: 30px;
    margin-right: 30px;
    position: relative;
}
.news-core .bottom-right{
    float: right;
    width: 270px;
    height: 270px;
    background: url(../img/news3.jpg) no-repeat;
    margin-top: 30px;
    position: relative;
}
.news-core .desc .right{
    float: right;
    width: 570px;
    height: 570px;
    background: url(../img/news4.jpg) no-repeat;
    position: relative;
}
/* <!----------- 关于简设 -------------> */
.about{
    margin-top: 150px;
    margin-bottom: 199px;
    height: 411px;
}
.about-c{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
   
}
.about-c .say{
    height: 300px;
    margin-top: 60px;
}
.about-c .say .pic{
    float: left;
    height: 300px;
    width: 500px;
    background: url(../img/about.jpg) no-repeat;
}
.about-c .say .text{
    float: right;
    width: 672px;
    font-size: 14px;
    line-height: 20px;
    margin-top: 32px;
}